package com.jy.rhin.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * @author dhl
 * @date 2022/7/6
 * @Description
 */
@Data
@ConfigurationProperties("message.compensation")
public class MessageCompensationProperties {
    /**
     * 补偿次数 (小于该数的才补偿)
     */
    private int publishCount = 4;
    /**
     * 补偿时间范围 (小于该天数的才补偿)
     */
    private int queryDay = 7;
    /**
     * 定时器cron
     */
    private String cronStr = "0 * * * * ?";
}
